import request from '@/common/utils/request'

export function getTestItemList(data) {
  return request({
    url: 'test-item/list',
    method: 'post',
    data
  })
}

export function getTestItemList2(data) {
  return request({
    url: 'test-item/test-list',
    method: 'post',
    data
  })
}

export function addTestItem(data) {
  return request({
    url: 'test-item/add',
    method: 'post',
    data
  })
}

export function updateTestItem(data) {
  return request({
    url: 'test-item/update',
    method: 'post',
    data
  })
}

export function deleteTestItem(data) {
  return request({
    url: 'test-item/delete',
    method: 'post',
    data
  })
}

export function batchDeleteList(data) {
  return request({
    url: 'test-item/batch-delete-list',
    method: 'post',
    data
  })
}

export function getTestItemListByGroupId(data) {
  return request({
    url: 'test-item/get-test-item-list-by-group-id',
    method: 'post',
    data
  })
}
